package com.example.zk2

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.navigation.fragment.NavHostFragment
import androidx.navigation.ui.setupWithNavController
import com.alibaba.android.arouter.facade.annotation.Route
import com.example.zk2.databinding.ActivityShopBinding
import com.example.zk2.mvvm.BaseViewActivity

@Route(path = "/app/ShopActivity")
class ShopActivity : BaseViewActivity<ActivityShopBinding>() {
    override fun getLayout(): Int  = R.layout.activity_shop

    override fun initView() {
        val navHostFragment = supportFragmentManager.findFragmentById(R.id.fragmentContainerView) as NavHostFragment
        val navController = navHostFragment.navController
        binding.bottom.setupWithNavController(navController)
    }

    override fun initData() {

    }

}